package descentFly.away3D4.Generator
{
	import away3d.entities.Mesh;
	
	import descentFly.away3D4.df_awaySpace;
	import descentFly.df_space;
	
	import flash.events.Event;
	
	public class df_bonusGenerator extends df_basePoints {
		public function df_bonusGenerator(a_space:df_awaySpace, a_options:Object) {
			super(a_space, a_options);
			Space.addEventListener(df_awaySpace.ENV_MAKE, doEnvMake);
		}
		
		protected function doEnvMake(e: Event): void {
			Space.removeEventListener(df_awaySpace.ENV_MAKE, doEnvMake);
			points.forEach(function(item: Object, i: int, arr: Array): void {
				createPoint(i);
			});
		}
	}
}